home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / ImageWriterLQ (alt. rdip) / OldAPIResources.r < prev    next >
Encoding:
Text File  |  1996-06-15  |  40.3 KB  |  1,426 lines  |  [TEXT/MPS ]

  1. /* ------------------------------------------------------------------------------
  2. FILENAME
  3.     OldAPIResources.r
  4.  
  5. DESCRIPTION
  6.     This module contains the ImageWriter LQ resource constants and types that
  7.     are needed to support the old (i.e. QuickDraw) application printing interface.
  8.     
  9.     Note: resources specific to the old API (e.g. print and style dialog resources)
  10.     must retain the original resource ID's (e.g. -8192).  Don't set these resource
  11.     ID's to be based upon printingDriverBaseID.  Also note that all resources
  12.     should be designated to load into the system heap.
  13.         
  14. COPYRIGHT
  15.      Copyright Apple Computer, Inc. 1992-1996
  16.      All rights reserved. 
  17.  
  18.     12/20/93        dmh        Sync'd with the shipping 1.0b3 GX driver.
  19.      8/28/94        dmh        Sync'd with the shipping 1.0.1 GX driver.
  20.      6/14/96        cn            Updated to support Universal Interfaces 2.1.
  21.  
  22. -------------------------------------------------------------------------------- */
  23.  
  24. // System 7.0 Compatible
  25. #define SystemSevenOrLater        1
  26.  
  27. // Include System Resource Definitions
  28. #include "Types.r"
  29. #include "SysTypes.r"
  30. #include "BalloonTypes.r"
  31.  
  32. // Include the ImageWriter LQ driver constants that are used in the resources 
  33. #include "LQResources.h"
  34.  
  35. // Include the public QuickDraw GX printing files 
  36. #include "GXPrintingResTypes.r"
  37.  
  38.  
  39. /*********************************************************************************
  40.  *                                    TYPES                                                               *
  41.  *********************************************************************************/
  42.  
  43. type 'PREC' (0)             // ImageWriter LQ - Old Style Print Record Definition that should be compatible with System 7.0 version of IW LQ driver
  44. {
  45.     integer = 1;                            // iPrVersion
  46.     
  47.                                                 // PrInfo
  48.     integer;                                        //    iDev
  49.     integer;                                        //    iVRes
  50.     integer;                                        //    iHRes
  51.     rect;                                            //    rPage
  52.  
  53.     rect;                                        //    rPaper
  54.  
  55.                                                 //    PrStl
  56.                                                     // ******** START DUMMY ( READ ONLY ) STORAGE *********
  57.     byte;                                            //    wDev refNum    
  58.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction
  59.     boolean NoDftBts, DftBts;                //    wDev fDraftBits
  60.     boolean NoResSet, ResSet;                //    wDev fResSet
  61.     boolean NoScroll, Scroll;                //    wDev fScroll
  62.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom
  63.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  64.     boolean Landscape, Portrait;            //    wDev fPortrait    
  65.     boolean LowRes, HighRes;                //    wDev fHiRes        
  66.                                                     // ******** END DUMMY ( READ ONLY ) STORAGE ********* */
  67.                                                 
  68.     integer;                                        //    iPageV        
  69.     integer;                                        //    iPageH        
  70.     byte;                                            //    bPort        
  71.     byte Cut, Fanfold, MechCut, Other;    //    feed        
  72.  
  73.                                                 //    PrInfoPT
  74.     integer;                                        //    iDev        
  75.     integer;                                        //    iVRes        
  76.     integer;                                        //    iHRes        
  77.     rect;                                            //    rPage        
  78.  
  79.                                                 //    PrXInfo
  80.     integer;                                        // iRowBytes    
  81.     integer;                                        //    iBandV        
  82.     integer;                                        //    iBandh        
  83.     integer;                                        //    iDevBytes    
  84.     integer;                                        //    iBands        
  85.     byte dbl=-2, norm=0;                        //    bPatScale    
  86.     byte;                                            //    bULThick    
  87.     byte;                                            //    bULOffset    
  88.     byte;                                            //    bULShadow    
  89.     byte scanTB, scanBT, scanLR, scanRL;//    scan        
  90.     fill byte;                                    //    bXInfoX        
  91.  
  92.                                                 //    PrJob        
  93.     integer;                                        //    iFstPage    
  94.     integer;                                        //    iLstPage    
  95.     integer;                                        //    iCopies        
  96.     byte draft, spool, User1, User2;        //    bJDocLoop    
  97.     byte;                                            //    fFromUsr    
  98.     longint;                                        //    pIdleProc    
  99.     longint;                                        //    pFileName    
  100.     integer;                                        //    iFileVol    
  101.     byte;                                            //    bFileVers    
  102.     byte;                                            //    bJobFlags    
  103.     
  104.                                                 //    PrintX
  105.     integer;                                        //    CSF Bin Flags 
  106.     byte;                                            //    wDev refNum    
  107.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction    
  108.     boolean NoDftBts, DftBts;                //    wDev fDraftBits    
  109.     boolean NoResSet, ResSet;                //    wDev fResSet    
  110.     boolean NoScroll, Scroll;                //    wDev fScroll    
  111.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom    
  112.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  113.     boolean Landscape, Portrait;            //    wDev fPortrait    
  114.     boolean LowRes, HighRes;                //    wDev fHiRes    
  115.  
  116.     fill word [17];                            //    Make 120 byte total    
  117. };
  118.  
  119.  
  120. /*********************************************************************************
  121.  *                                    RESOURCES                                                           *
  122.  *********************************************************************************/
  123.  
  124. /*************************** Old API Message Override Resource **************************/
  125. // This overrideType resource tells the Printing Manager which old API messages we want to override, 
  126. // as well as some new backward compatibility messages. 
  127.  
  128. resource gxOverrideType (gxDriverCompatibilityOverrideID, sysheap, purgeable)
  129. {
  130.     {
  131.         gxPrValidate,                     kOldAPISegmentID, kFirstMsgJumpTableOffset,
  132.         gxConvertPrintRecordTo,     kOldAPISegmentID, kFirstMsgJumpTableOffset + 4,
  133.         gxConvertPrintRecordFrom, kOldAPISegmentID, kFirstMsgJumpTableOffset + 8,
  134.         gxPrintRecordToJob,             kOldAPISegmentID, kFirstMsgJumpTableOffset + 12,
  135.     };
  136. };
  137.  
  138.  
  139. /*************************** Old Application Compatibility Resource **************************/
  140. // This custType resource is used by the Printing Manager.  It defines some basic options for 
  141. // use with old applications.  Note: every driver should contain one of these resources. 
  142.  
  143. resource gxCustType (gxCustID, sysheap, purgeable)
  144. {
  145.     216,                                // horizontal device resolution (dpi) 
  146.     216,                                 // vertical device resolution (dpi) 
  147.     defaultUpDriver,                // type of "upDriver" to use 
  148.     {3, 3},                            // pattern stretching factor. Set to 3 (nearest thing to 216 dpi/72 dpi) 
  149.     gxOptimizedTranslation + gxRasterTargetTranslation
  150. };
  151.  
  152. /*************************** Old Application Resolution Resource **************************/
  153.  
  154. resource 'resl' (-8192, sysheap, purgeable)
  155. {
  156.     rangeType,
  157.     gxDiscreteResolution, gxDiscreteResolution,
  158.     gxDiscreteResolution, gxDiscreteResolution,
  159.     {
  160.     72,     72;
  161.     216,     216;
  162.     }
  163. };
  164.  
  165.  
  166. /************************** PREC Resources **************************/
  167. // This PREC definition represents the default print record definition 
  168. // for the old LaserWriter SC driver. This resource is accessed by the 
  169. // Universal Dialog Handler. 
  170.  
  171. resource 'PREC' (0, sysheap, purgeable)            // PREC 0 - Default print record definition for the old LaserWriter SC driver 
  172. {
  173.     // PrInfo
  174.     0,
  175.     72,
  176.     72,
  177.     {0, 0, 744, 576},
  178.     
  179.     // rPaper
  180.     {-25, -18, 767, 594},
  181.     
  182.     //PrStl
  183.     5,
  184.     NoZoom,
  185.     NoDftBts,
  186.     NoResSet,
  187.     NoScroll,
  188.     NoZoom,
  189.     UniDir,
  190.     Portrait,
  191.     HighRes,
  192.     1320,                        //    In 1/120 inch measurements
  193.     1020,
  194.     0,
  195.     Fanfold,
  196.     
  197.     // PrInfoPT
  198.     0,
  199.     216,
  200.     216,
  201.     {0, 0, 2232, 1728},
  202.     
  203.     // PrXInfo
  204.     80,
  205.     32,
  206.     640,
  207.     3200,
  208.     24,
  209.     norm,
  210.     1,
  211.     1,
  212.     1,
  213.     scanTB,
  214.     
  215.     // PrJob
  216.     1,
  217.     9999,
  218.     1,
  219.     spool,
  220.     1,
  221.     0,
  222.     0,
  223.     0,
  224.     0,
  225.     0,
  226.     
  227.     // PrintX
  228.     5,
  229.     5,
  230.     NoZoom,
  231.     NoDftBts,
  232.     NoResSet,
  233.     NoScroll,
  234.     NoZoom,
  235.     UniDir,
  236.     Portrait,
  237.     HighRes
  238. };
  239.  
  240.  
  241. // version string for old dialogs
  242. resource 'STR ' (-8190, sysheap, purgeable) { "1.0" };
  243.  
  244. /************************** PrStlDialog Resources **************************/
  245. // These dialog related resources define the old ImageWriter LQ's Style dialog. 
  246. // These resources are manipulated by the Universal Dialog Handler 
  247.  
  248. resource 'DLOG' (gxStlDialogResID, sysHeap)            // Style Dialog DLOG 
  249. {
  250.     {30, 20, 174, 492},
  251.     dBoxProc,
  252.     invisible,
  253.     noGoAway,
  254.     0x1,
  255.     gxStlDialogResID,
  256.     "Stl",
  257.     noAutoCenter
  258. };
  259.  
  260. resource 'DITL' (gxStlDialogResID, sysheap, purgeable)            // Style Dialog DITL 
  261. {
  262.     {    /* array DITLarray: 22 elements */
  263.         /* [1] */    {8, 404, 27, 464}, Button {enabled, "OK"},
  264.         /* [2] */    {35, 404, 54, 464}, Button {enabled, "Cancel"},
  265.         
  266.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "!0"},
  267.         /* [4] */    {19, 5, 23, 393}, UserItem {disabled},
  268.         
  269.         /* [5] */    {24, 4, 40, 60}, StaticText {disabled, "Paper:"},
  270.         /* [6] */    {24, 68, 40, 208}, RadioButton {enabled, "US Letter"},
  271.         /* [7] */    {24, 218, 40, 383}, RadioButton {enabled, "A4 Letter"},
  272.         /* [8] */    {39, 68, 55, 208}, RadioButton {enabled, "US Legal"},
  273.         /* [9] */    {39, 218, 55, 383}, RadioButton {enabled, "International Fanfold"},
  274.         /* [10] */    {54, 68, 70, 208}, RadioButton {enabled, "Computer Paper"},
  275.         /* [11] */    {54, 218, 70, 383}, RadioButton {enabled, "Envelope (#10)"},
  276.         
  277.         /* [12] */    {74, 4, 90, 88}, StaticText {disabled, "Orientation"},
  278.         /* [13] */    {93, 4, 125, 36}, UserItem {enabled},
  279.         /* [14] */    {93, 44, 125, 76}, UserItem {enabled},
  280.         
  281.         /* [15] */    {74, 106, 90, 211}, StaticText {disabled, "Special Effects:"},
  282.         /* [16] */    {106, 308, 122, 431}, RadioButton {enabled, "33 % Reduction"},
  283.         /* [17] */    {122, 308, 138, 430}, RadioButton {enabled, "66 % Reduction"},
  284.         /* [18] */    {90, 308, 106, 431}, RadioButton {enabled, "Full Size"},
  285.         /* [19] */    {106, 221, 122, 307}, StaticText {disabled, "Reductions:"},
  286.         /* [20] */    {74, 218, 90, 399}, CheckBox {enabled, "No Gaps Between Pages"},
  287.  
  288.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  289.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  290.     }
  291. };
  292.  
  293. resource 'dctl' (gxStlDialogResID, sysheap, purgeable)                // Universal Dialog Handler dctl for Style Dialog 
  294. {
  295.     22,
  296.     {
  297.         Button {2, cancel},
  298.         Frill {3, printerName},
  299.         Frill {4, line},
  300.         PaperSizes {0, 0, { 6, 7, 8, 9, 10, 11 }},
  301.         Orientation {13, 14, 0, 0},
  302.         Toggle {20, bBiggerPages},
  303.         Cluster {user0, {16, 17, 18 }},
  304.         Frill {21, version},
  305.         Frill {22, default},
  306.     }
  307. };
  308.  
  309.  
  310.  
  311. // This resource is needed for proper use of color in Style dialog
  312. resource 'dctb' (gxStlDialogResID, sysheap, purgeable)
  313. {
  314.     {    /* array ColorSpec: 0 elements */
  315.     }
  316. };
  317.  
  318.  
  319. /************************** PrJobDialog Resources **************************/
  320. // These dialog related resources define the old LaserWriter SC's Print dialog. 
  321. // These resources are manipulated by the Universal Dialog Handler 
  322.  
  323. resource 'DLOG' (gxJobDialogResID, sysheap, purgeable)             // Job Dialog DLOG 
  324. {
  325.     {28, 26, 156, 500},
  326.     dBoxProc,
  327.     invisible,
  328.     noGoAway,
  329.     0x1,
  330.     gxJobDialogResID,
  331.     "Job",
  332.     noAutoCenter
  333. };
  334.  
  335. resource 'DITL' (gxJobDialogResID, sysheap, purgeable)                //    Job Dialog DITL
  336. {
  337.     {    /* array DITLarray: 22 elements */
  338.         /* [1] */    {8, 404, 27, 464}, Button {enabled, "Print"},
  339.         /* [2] */    {35, 404, 54, 464}, Button {enabled, "Cancel"},
  340.         
  341.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "!0"},
  342.         /* [4] */    {19, 5, 23, 393}, UserItem {disabled},
  343.         
  344.         /* [5] */    {29, 4, 45, 88}, StaticText {disabled, "Quality:"},
  345.         /* [6] */    {29, 100, 45, 188}, RadioButton {enabled, "Best"},
  346.         /* [7] */    {29, 210, 45, 298}, RadioButton {enabled, "Faster"},
  347.         /* [8] */    {29, 310, 45, 398}, RadioButton {enabled, "Draft"},
  348.         
  349.         /* [9] */    {79, 4, 95, 88}, StaticText {disabled, "Page Range:"},
  350.         /* [10] */    {79, 100, 95, 188}, RadioButton {enabled, "All"},
  351.         /* [11] */    {79, 210, 95, 270}, RadioButton {enabled, "From:"},
  352.         /* [12] */    {79, 274, 95, 306}, EditText {disabled, ""},
  353.         /* [13] */    {79, 314, 95, 342}, StaticText {enabled, "To:"},
  354.         /* [14] */    {79, 342, 95, 374}, EditText {disabled, ""},
  355.         
  356.         /* [15] */    {104, 4, 119, 88}, StaticText {disabled, "Copies:"},
  357.         /* [16] */    {104, 100, 119, 132}, EditText {disabled, "1"},
  358.         
  359.         /* [17] */    {54, 4, 70, 88}, StaticText {disabled, "Head Scan:"},
  360.         /* [18] */    {54, 100, 70, 210}, RadioButton {enabled, "Bidirectional"},
  361.         /* [19] */    {54, 210, 70, 332}, RadioButton {enabled, "Unidirectional"},
  362.         
  363.         /* [20] */    {64, 404, 84, 464}, Button {enabled, "Options"},
  364.  
  365.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  366.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  367.     }
  368. };
  369.  
  370. resource 'dctl' (gxJobDialogResID, sysheap, purgeable)                // Universal Dialog Handler dctl for Job Dialog 
  371. {
  372.     22,
  373.     {
  374.         Button {2,    cancel},
  375.         Frill {3, printerName},
  376.         Frill {4, line},
  377.         Cluster { quality, { 6, 7, 8 } },
  378.         PageRange {10, 11, 12, 14 },
  379.         Copies {16},
  380.         Cluster { headMotion, { 19, 18 } },
  381.         DialogBtn {20, kPrintOptionsDlgRsrcID, kPrintOptionsDlgRsrcID},
  382.         Frill {21, version},
  383.         Frill {22, default},
  384.     }
  385. };
  386.  
  387.  
  388. // This resource is needed for proper use of color in Job dialog
  389. resource 'dctb' (gxJobDialogResID, sysheap, purgeable)
  390. {
  391.     {    /* array ColorSpec: 0 elements */
  392.     }
  393. };
  394.  
  395. resource 'DLOG' (kPrintOptionsDlgRsrcID, sysheap, purgeable)             // Print Options Dialog DLOG 
  396. {
  397.     {28, 26, 270, 500},
  398.     dBoxProc,
  399.     invisible,
  400.     noGoAway,
  401.     0x1,
  402.     kPrintOptionsDlgRsrcID,
  403.     "Paper",
  404.     noAutoCenter
  405. };
  406.  
  407. resource 'DITL' (kPrintOptionsDlgRsrcID, sysheap, purgeable)                //    Print Options Dialog DITL
  408. {
  409.     {    /* array DITLarray: 24 elements */
  410.         /* [1] */    {4, 401, 24, 461}, Button {enabled, "OK"},
  411.         /* [2] */    {34, 401, 54, 461}, Button {enabled, "Cancel"},
  412.         
  413.         /* [3] */    {4, 8, 20, 384}, StaticText {disabled, "!0, Paper Path Options"},
  414.         /* [4] */    {19, 5, 23, 384}, UserItem {disabled},
  415.         
  416.         /* [5] */    {32, 96, 48, 192}, RadioButton {enabled, "Automatic"},
  417.         /* [6] */    {32, 216, 48, 312}, RadioButton {enabled, "Hand Feed"},
  418.         /* [7] */    {32, 8, 48, 88}, StaticText {disabled, "Paper Feed:"},
  419.         
  420.         /* [8] */    {72, 8, 88, 160}, StaticText {disabled, "Sheet Feeder Options:"},
  421.         /* [9] */    {72, 200, 88, 240}, StaticText {disabled, "Bin 1"},
  422.         /* [10] */    {72, 264, 88, 304}, StaticText {disabled, "Bin 2"},
  423.         /* [11] */    {72, 328, 88, 368}, StaticText {disabled, "Bin 3"},
  424.         /* [12] */    {96, 24, 112, 176}, StaticText {disabled, "First Sheet From:"},
  425.         /* [13] */    {115, 23, 131, 183}, StaticText {disabled, "Remaining Sheets From:"},
  426.         /* [14] */    {96, 208, 112, 240}, RadioButton {enabled, ""},
  427.         /* [15] */    {96, 272, 112, 304}, RadioButton {enabled, ""},
  428.         /* [16] */    {96, 336, 112, 368}, RadioButton {enabled, ""},
  429.         /* [17] */    {115, 208, 131, 240}, RadioButton {enabled, ""},
  430.         /* [18] */    {115, 272, 131, 304}, RadioButton {enabled, ""},
  431.         /* [19] */    {115, 336, 131, 368}, RadioButton {enabled, ""},
  432.         
  433.         /* [20] */    {163, 9, 226, 455}, StaticText {disabled, "*PLEASE NOTE: Some applications treat each page of a print job as the first page."
  434.                                                                     "  These applications cannot take full advantage of the Sheet Feeder Options.  "
  435.                                                                     "Instead, they print each page from the bin you select in the First Sheet From option."},
  436.         /* [21] */    {139, 7, 154, 457}, StaticText {disabled, "____________________________________________________________________"},
  437.         /* [22] */    {142, 7, 157, 457}, StaticText {disabled, "____________________________________________________________________"},
  438.  
  439.         /* [23] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  440.         /* [24] */    {0, 395, 27, 465}, UserItem { disabled }            // user item for OK button 
  441.     }
  442. };
  443.  
  444. resource 'dctl' (kPrintOptionsDlgRsrcID, sysheap, purgeable)                // Universal Dialog Handler dctl for Print Options Dialog 
  445. {
  446.     24,
  447.     {
  448.         Button {2,    cancel},
  449.         Frill {3, printerName},
  450.         Frill {4, line},
  451.         Cluster { feed, { 5, 6 } },
  452.         Cluster { firstPage, { 14, 15, 16 } },
  453.         Cluster { restPage, { 17, 18, 19 } },
  454.         Frill {23, version},
  455.         Frill {24, default},
  456.     }
  457. };
  458.  
  459.  
  460. // This resource is needed for proper use of color in Print Options dialog
  461. resource 'dctb' (kPrintOptionsDlgRsrcID, sysheap, purgeable)
  462. {
  463.     {    /* array ColorSpec: 0 elements */
  464.     }
  465. };
  466.  
  467.  
  468. /*************************** Old API Paper Type Definitions **************************/
  469. // These paper type definitions represent the settings of the old LaserWriter SC's paper 
  470. // sizes. 
  471.  
  472. resource 'ptyp' (kOldPaperTypesID + 1, sysheap, purgeable)            // US Letter 
  473. {
  474.     "US Letter",
  475.     
  476.     // page rectangle 
  477.     0x00000000,                // 8.0 x 10.33
  478.     0x00000000,                
  479.     0x02400000,                
  480.     0x02E7C298,                
  481.  
  482.     // paper rectangle 
  483.     0xFFEE0000,                // 8.5 x 11.0
  484.     0xFFE7E14C,                
  485.     0x02520000,                
  486.     0x02FFE14C,                
  487.     
  488.     usLetterBase,
  489.     kDrvrCreatorType,
  490.  
  491.     inch,
  492.     oldStylePaperType,
  493.     isDefaultPaperType,
  494.     {}
  495. };
  496.  
  497. resource 'ptyp' (kOldPaperTypesID + 2, sysheap, purgeable)            // A4 Letter 
  498. {
  499.     "A4 Letter",
  500.     
  501.     // page rectangle 
  502.     0x00000000,                // 8.0 x 11.0 
  503.     0x00000000,                
  504.     0x02400000,                
  505.     0x03180000,                
  506.  
  507.     // paper rectangle 
  508.     0xFFF70000,                // 8.25 x 11.67
  509.     0xFFE7E14C,                
  510.     0x02490000,                
  511.     0x03301EB4,                
  512.     
  513.     a4LetterBase,
  514.     kDrvrCreatorType,
  515.  
  516.     inch,    
  517.     oldStylePaperType,
  518.     notDefaultPaperType,
  519.     {}
  520. };
  521.  
  522. resource 'ptyp' (kOldPaperTypesID + 3, sysheap, purgeable)            // US Legal 
  523. {
  524.     "US Legal",
  525.     
  526.     // page rectangle 
  527.     0x00000000,                // 8.0 x 13.33
  528.     0x00000000,                
  529.     0x02400000,                    
  530.     0x03BFC298,                
  531.  
  532.     // paper rectangle 
  533.     0xFFEE0000,                // 8.5 x 14.0
  534.     0xFFE7E14C,                
  535.     0x02520000,                
  536.     0x03D7E14C,                
  537.  
  538.     usLegalBase,
  539.     kDrvrCreatorType,
  540.  
  541.     inch,    
  542.     oldStylePaperType,
  543.     notDefaultPaperType,
  544.     {}
  545. };
  546.  
  547. resource 'ptyp' (kOldPaperTypesID + 4, sysheap, purgeable)            // International Fanfold 
  548. {
  549.     "International Fanfold",
  550.     
  551.     // page rectangle 
  552.     0x00000000,                    // 8.0 x 11.33 
  553.     0x00000000,                    
  554.     0x02400000,                    
  555.     0x032FC298,                    
  556.     
  557.     // paper rectangle 
  558.     0xFFF70000,                    // 8.25 x 12.0 
  559.     0xFFE7E14C,                    
  560.     0x02490000,                    
  561.     0x0347E14C,                    
  562.     
  563.     unknownBase,
  564.     kDrvrCreatorType,
  565.  
  566.     inch,
  567.     oldStylePaperType,
  568.     notDefaultPaperType,
  569.     {}
  570. };
  571.  
  572. resource 'ptyp' (kOldPaperTypesID + 5, sysheap, purgeable)            // Computer Paper 
  573. {
  574.     "Computer Paper",
  575.     
  576.     // page rectangle 
  577.     0x00000000,                // 13.33 x 10.33 
  578.     0x00000000,
  579.     0x03BFC298,
  580.     0x02E7C298,
  581.  
  582.     // paper rectangle 
  583.     0xFFE7E14C,                //    14.0 x 11.0
  584.     0xFFE7E14C,
  585.     0x03D7E14C,
  586.     0x02FFE14C,
  587.     
  588.     unknownBase,
  589.     kDrvrCreatorType,
  590.  
  591.     inch,    
  592.     oldStylePaperType,
  593.     notDefaultPaperType,
  594.     {}
  595. };
  596.  
  597. resource 'ptyp' (kOldPaperTypesID + 6, sysheap, purgeable)            // Envelope (#10) 
  598. {
  599.     "Envelope (#10)",
  600.     
  601.     // page rectangle 
  602.     0x00000000,                    // 9.3333 x 3.3333 
  603.     0x00000000,                    
  604.     0x029FFF58,                    
  605.     0x00EFFF58,                    
  606.     
  607.     // paper rectangle 
  608.     0xFFF9FFAC,                    // 9.5 x 4.125 
  609.     0xFFE37FAC,                    
  610.     0x02A5FFAC,                    
  611.     0x010C7FAC,                    
  612.     
  613.     unknownBase,
  614.     kDrvrCreatorType,
  615.  
  616.     inch,
  617.     oldStylePaperType,
  618.     notDefaultPaperType,
  619.     {}
  620. };
  621.  
  622.  
  623. /*************************** Help Manager Resource Definitions **************************/
  624. // These resources define the help text that will be displayed by the System 7 Help Manager
  625. // if help is enabled and on eof the print dialogs is visible.
  626.  
  627.  
  628. // The 'hwin' resource is used by the Help Manager and it links 'hdlg'
  629. // resources to the dialogs to which they apply.  In this case, we have
  630. // two 'hwin' list entries that reference the two old app. print dialogs.
  631.  
  632. resource 'hwin' (kHwinRsrcID, sysheap, purgeable)
  633. {
  634.     HelpMgrVersion,
  635.     hmDefaultOptions,
  636.     {
  637.         gxStlDialogResID,             'hdlg', 3, "Stl",        // Reference to PrStlDialog's 'hdlg' resource
  638.         gxJobDialogResID,             'hdlg', 3, "Job",        // Reference to PrJobDialog's 'hdlg' resource
  639.         kPrintOptionsDlgRsrcID,     'hdlg', 3, "Paper"    // Reference to Print Options dialog 'hdlg' resource
  640.     }
  641. };
  642.  
  643.  
  644. // The 'hfdr' resource tells the Finder that we have help information it should
  645. // display when the user moves the mouse over the ImageWriter LQ icon when help is enabled.
  646.  
  647. resource 'hfdr' (kHfdrRsrcID, sysheap, purgeable)
  648. {
  649.     HelpMgrVersion,
  650.     hmDefaultOptions,
  651.     0,                    // Default balloon definition function
  652.     0,                    // Default variation code
  653.     {
  654.         HMSTRResItem
  655.         {
  656.             kFinderHelpSTRID    // Resource ID of help string ('STR ') to display
  657.         }
  658.     }
  659. };
  660.  
  661.  
  662. // This string resource contains the help text that will be displayed in the Finder if you
  663. // move the mouse over the ImageWriter LQ icon when help is enabled.
  664.  
  665. resource 'STR ' (kFinderHelpSTRID, sysheap, purgeable)
  666. {
  667.     "ImageWriter LQ\n\n"
  668.     "To enable your Macintosh to print documents on an ImageWriter LQ connected to a serial port, place this file in your Extensions folder.";
  669. };
  670.  
  671.  
  672. // This 'hdlg' resource tells the system what help strings to display when the user moves
  673. // the mouse over the ImageWriter LQ's Style dialog with help enabled.
  674.  
  675. resource 'hdlg' (gxStlDialogResID, sysheap, purgeable) 
  676. {
  677.     HelpMgrVersion,
  678.     0,                                        // Start help with the first item in the corresponding 'DITL'
  679.     hmDefaultOptions,
  680.     0,                                        // Default balloon definition function
  681.     0,                                        // Ballon variation code - hang below and to the right
  682.     HMStringResItem                    //    This list references help strings to be used for any missing items
  683.     {
  684.         {0, 0},
  685.         {0, 0, 0, 0},
  686.         gxStlDialogResID, 1,
  687.         gxStlDialogResID, 2,
  688.         gxStlDialogResID, 3,
  689.         gxStlDialogResID, 4
  690.     },
  691.     {    /* array HDialogArray: 22 elements */
  692.         /* [1] */
  693.         HMStringResItem                //    OK button
  694.         {
  695.             {0, 0},
  696.             {0, 0, 0, 0},
  697.             gxStlDialogResID, 5,
  698.             gxStlDialogResID, 6,
  699.             gxStlDialogResID, 7,
  700.             gxStlDialogResID, 8
  701.         },
  702.         /* [2] */
  703.         HMStringResItem                //    Cancel button
  704.         {
  705.             {0, 0},
  706.             {0, 0, 0, 0},
  707.             gxStlDialogResID, 9,
  708.             gxStlDialogResID, 10,
  709.             gxStlDialogResID, 11,
  710.             gxStlDialogResID, 12
  711.         },
  712.         /* [3] */
  713.         HMSkipItem                        //    Driver name string
  714.         {
  715.         },
  716.         /* [4] */
  717.         HMSkipItem                         //    Horizontal line
  718.         {
  719.         },
  720.         /* [5] */
  721.         HMSkipItem                         //    Paper: string
  722.         {
  723.         },
  724.         /* [6] */
  725.         HMStringResItem                 //    US Letter button
  726.         {
  727.             {0, 0},
  728.             {0, 0, 0, 0},
  729.             gxStlDialogResID, 13,
  730.             gxStlDialogResID, 14,
  731.             gxStlDialogResID, 15,
  732.             gxStlDialogResID, 16
  733.         },
  734.         /* [7] */
  735.         HMStringResItem                 //    A4 Letter button
  736.         {
  737.             {0, 0},
  738.             {0, 0, 0, 0},
  739.             gxStlDialogResID, 17,
  740.             gxStlDialogResID, 18,
  741.             gxStlDialogResID, 19,
  742.             gxStlDialogResID, 20
  743.         },
  744.         /* [8] */
  745.         HMStringResItem                 // US Legal button
  746.         {
  747.             {0, 0},
  748.             {0, 0, 0, 0},
  749.             gxStlDialogResID, 21,
  750.             gxStlDialogResID, 22,
  751.             gxStlDialogResID, 23,
  752.             gxStlDialogResID, 24
  753.         },
  754.         /* [9] */
  755.         HMStringResItem                 //    International Fanfold button
  756.         {
  757.             {0, 0},
  758.             {0, 0, 0, 0},
  759.             gxStlDialogResID, 25,
  760.             gxStlDialogResID, 26,
  761.             gxStlDialogResID, 27,
  762.             gxStlDialogResID, 28
  763.         },
  764.         /* [10] */
  765.         HMStringResItem                 //    Computer Paper button
  766.         {
  767.             {0, 0},
  768.             {0, 0, 0, 0},
  769.             gxStlDialogResID, 29,
  770.             gxStlDialogResID, 30,
  771.             gxStlDialogResID, 31,
  772.             gxStlDialogResID, 32
  773.         },
  774.         /* [11] */
  775.         HMStringResItem                 //    Envelope (#10) button
  776.         {
  777.             {0, 0},
  778.             {0, 0, 0, 0},
  779.             gxStlDialogResID, 33,
  780.             gxStlDialogResID, 34,
  781.             gxStlDialogResID, 35,
  782.             gxStlDialogResID, 36
  783.         },
  784.         /* [12] */                        //    Orientation string
  785.         HMSkipItem 
  786.         {
  787.         },
  788.         /* [13] */
  789.         HMStringResItem                 //    Portrait orientation icon
  790.         {
  791.             {0, 0},
  792.             {0, 0, 0, 0},
  793.             gxStlDialogResID, 37,
  794.             gxStlDialogResID, 38,
  795.             gxStlDialogResID, 39,
  796.             gxStlDialogResID, 40
  797.         },
  798.         /* [14] */
  799.         HMStringResItem                 //    Landscape orientation icon
  800.         {
  801.             {0, 0},
  802.             {0, 0, 0, 0},
  803.             gxStlDialogResID, 41,
  804.             gxStlDialogResID, 42,
  805.             gxStlDialogResID, 43,
  806.             gxStlDialogResID, 44
  807.         },
  808.         /* [15] */
  809.         HMSkipItem                         // Special Effects: string
  810.         {
  811.         },
  812.         /* [16] */
  813.         HMStringResItem                 //    33% Reduction button
  814.         {
  815.             {0, 0},
  816.             {0, 0, 0, 0},
  817.             gxStlDialogResID, 45,
  818.             gxStlDialogResID, 46,
  819.             gxStlDialogResID, 47,
  820.             gxStlDialogResID, 48
  821.         },
  822.         /* [17] */
  823.         HMStringResItem                 //    66% Reduction button
  824.         {
  825.             {0, 0},
  826.             {0, 0, 0, 0},
  827.             gxStlDialogResID, 49,
  828.             gxStlDialogResID, 50,
  829.             gxStlDialogResID, 51,
  830.             gxStlDialogResID, 52
  831.         },
  832.         /* [18] */
  833.         HMStringResItem                 //    Full size button
  834.         {
  835.             {0, 0},
  836.             {0, 0, 0, 0},
  837.             gxStlDialogResID, 53,
  838.             gxStlDialogResID, 54,
  839.             gxStlDialogResID, 55,
  840.             gxStlDialogResID, 56
  841.         },
  842.         /* [19] */
  843.         HMSkipItem                         // Reductions: string
  844.         {
  845.         },
  846.         /* [20] */
  847.         HMStringResItem                 //    No gaps between pages checkbox
  848.         {
  849.             {0, 0},
  850.             {0, 0, 0, 0},
  851.             gxStlDialogResID, 57,
  852.             gxStlDialogResID, 58,
  853.             gxStlDialogResID, 59,
  854.             gxStlDialogResID, 60
  855.         },
  856.         /* [21] */
  857.         HMSkipItem                         // Version number
  858.         {
  859.         },
  860.         /* [22] */
  861.         HMSkipItem                         // Default ring around the OK button
  862.         {
  863.         }
  864.     }
  865. };
  866.  
  867. // This 'hdlg' resource tells the system what help strings to display when the user moves
  868. // the mouse over the ImageWriter LQ's Print dialog with help enabled.
  869.  
  870. resource 'hdlg' (gxJobDialogResID, sysheap, purgeable) 
  871. {
  872.     HelpMgrVersion,
  873.     0,                                        // Start help with the first item in the corresponding 'DITL'
  874.     hmDefaultOptions,
  875.     0,                                        // Default balloon definition function
  876.     0,                                        // Ballon variation code - hang below and to the right
  877.     HMStringResItem                    //    This list references help strings to be used for any missing items
  878.     {
  879.         {0, 0},
  880.         {0, 0, 0, 0},
  881.         gxJobDialogResID, 1,
  882.         gxJobDialogResID, 2,
  883.         gxJobDialogResID, 3,
  884.         gxJobDialogResID, 4
  885.     },
  886.     {    /* array HDialogArray: 21 elements */
  887.         /* [1] */
  888.         HMStringResItem                 //    Print button
  889.         {
  890.             {0, 0},
  891.             {0, 0, 0, 0},
  892.             gxJobDialogResID, 5,
  893.             gxJobDialogResID, 6,
  894.             gxJobDialogResID, 7,
  895.             gxJobDialogResID, 8
  896.         },
  897.         /* [2] */
  898.         HMStringResItem                 //    Cancel button
  899.         {
  900.             {0, 0},
  901.             {0, 0, 0, 0},
  902.             gxJobDialogResID, 9,
  903.             gxJobDialogResID, 10,
  904.             gxJobDialogResID, 11,
  905.             gxJobDialogResID, 12
  906.         },
  907.         /* [3] */
  908.         HMSkipItem                         //    Print driver name string
  909.         {
  910.         },
  911.         /* [4] */
  912.         HMSkipItem                         //    Horizontal line
  913.         {
  914.         },
  915.         /* [5] */
  916.         HMSkipItem                         //    Quality: string
  917.         {
  918.         },
  919.         /* [6] */
  920.         HMStringResItem                 // Best quality button
  921.         {
  922.             {0, 0},
  923.             {0, 0, 0, 0},
  924.             gxJobDialogResID, 13,
  925.             gxJobDialogResID, 14,
  926.             gxJobDialogResID, 15,
  927.             gxJobDialogResID, 16
  928.         },
  929.         /* [7] */
  930.         HMStringResItem                 //    Faster quality button
  931.         {
  932.             {0, 0},
  933.             {0, 0, 0, 0},
  934.             gxJobDialogResID, 17,
  935.             gxJobDialogResID, 18,
  936.             gxJobDialogResID, 19,
  937.             gxJobDialogResID, 20
  938.         },
  939.         /* [8] */
  940.         HMStringResItem                 //    Draft quality button
  941.         {
  942.             {0, 0},
  943.             {0, 0, 0, 0},
  944.             gxJobDialogResID, 21,
  945.             gxJobDialogResID, 22,
  946.             gxJobDialogResID, 23,
  947.             gxJobDialogResID, 24
  948.         },
  949.         /* [9] */
  950.         HMSkipItem                         //    Page Range: string
  951.         {
  952.         },
  953.         /* [10] */
  954.         HMStringResItem                 //    All button
  955.         {
  956.             {0, 0},
  957.             {0, 0, 0, 0},
  958.             gxJobDialogResID, 25,
  959.             gxJobDialogResID, 26,
  960.             gxJobDialogResID, 27,
  961.             gxJobDialogResID, 28
  962.         },
  963.         /* [11] */
  964.         HMStringResItem                 //    From: button
  965.         {
  966.             {0, 0},
  967.             {0, 0, 0, 0},
  968.             gxJobDialogResID, 29,
  969.             gxJobDialogResID, 30,
  970.             gxJobDialogResID, 31,
  971.             gxJobDialogResID, 32
  972.         },
  973.         /* [12] */
  974.         HMStringResItem                 // Edittext of from field
  975.         {
  976.             {0, 0},
  977.             {0, 0, 0, 0},
  978.             gxJobDialogResID, 33,
  979.             gxJobDialogResID, 34,
  980.             gxJobDialogResID, 35,
  981.             gxJobDialogResID, 36
  982.         },
  983.         /* [13] */
  984.         HMSkipItem                        //    To: string
  985.         {
  986.         },
  987.         /* [14] */
  988.         HMStringResItem                 //    Edittext of to field
  989.         {
  990.             {0, 0},
  991.             {0, 0, 0, 0},
  992.             gxJobDialogResID, 37,
  993.             gxJobDialogResID, 38,
  994.             gxJobDialogResID, 39,
  995.             gxJobDialogResID, 40
  996.         },
  997.         /* [15] */
  998.         HMSkipItem                         //    Copies: string
  999.         {
  1000.         },
  1001.         /* [16] */
  1002.         HMStringResItem                 //    Number of copies EditText field
  1003.         {
  1004.             {0, 0},
  1005.             {0, 0, 0, 0},
  1006.             gxJobDialogResID, 41,
  1007.             gxJobDialogResID, 42,
  1008.             gxJobDialogResID, 43,
  1009.             gxJobDialogResID, 44
  1010.         },
  1011.         /* [17] */
  1012.         HMSkipItem                         //    Head Scan: string
  1013.         {
  1014.         },
  1015.         /* [18] */
  1016.         HMStringResItem                 //    Bidirectional button
  1017.         {
  1018.             {0, 0},
  1019.             {0, 0, 0, 0},
  1020.             gxJobDialogResID, 45,
  1021.             gxJobDialogResID, 46,
  1022.             gxJobDialogResID, 47,
  1023.             gxJobDialogResID, 48
  1024.         },
  1025.         /* [19] */
  1026.         HMStringResItem                 //    Unidirectional button
  1027.         {
  1028.             {0, 0},
  1029.             {0, 0, 0, 0},
  1030.             gxJobDialogResID, 49,
  1031.             gxJobDialogResID, 50,
  1032.             gxJobDialogResID, 51,
  1033.             gxJobDialogResID, 52
  1034.         },
  1035.         /* [21] */
  1036.         HMStringResItem                 //    Options button
  1037.         {
  1038.             {0, 0},
  1039.             {0, 0, 0, 0},
  1040.             gxJobDialogResID, 53,
  1041.             gxJobDialogResID, 54,
  1042.             gxJobDialogResID, 55,
  1043.             gxJobDialogResID, 56
  1044.         },
  1045.         /* [20] */
  1046.         HMSkipItem                         //    Version number
  1047.         {
  1048.         },
  1049.         /* [20] */
  1050.         HMSkipItem                         //    Default ring around OK button
  1051.         {
  1052.         }
  1053.     }
  1054. };
  1055.  
  1056. // This 'hdlg' resource tells the system what help strings to display when the user moves
  1057. // the mouse over the ImageWriter LQ's Print Options dialog with help enabled.
  1058.  
  1059. resource 'hdlg' (kPrintOptionsDlgRsrcID, sysheap, purgeable) 
  1060. {
  1061.     HelpMgrVersion,
  1062.     0,                                        // Start help with the first item in the corresponding 'DITL'
  1063.     hmDefaultOptions,
  1064.     0,                                        // Default balloon definition function
  1065.     0,                                        // Ballon variation code - hang below and to the right
  1066.     HMStringResItem                    //    This list references help strings to be used for any missing items
  1067.     {
  1068.         {0, 0},
  1069.         {0, 0, 0, 0},
  1070.         kPrintOptionsDlgRsrcID, 1,
  1071.         kPrintOptionsDlgRsrcID, 2,
  1072.         kPrintOptionsDlgRsrcID, 3,
  1073.         kPrintOptionsDlgRsrcID, 4
  1074.     },
  1075.     {    /* array HDialogArray: 23 elements */
  1076.         /* [1] */
  1077.         HMStringResItem                 //    OK button
  1078.         {
  1079.             {0, 0},
  1080.             {0, 0, 0, 0},
  1081.             kPrintOptionsDlgRsrcID, 5,
  1082.             kPrintOptionsDlgRsrcID, 6,
  1083.             kPrintOptionsDlgRsrcID, 7,
  1084.             kPrintOptionsDlgRsrcID, 8
  1085.         },
  1086.         /* [2] */
  1087.         HMStringResItem                 //    Cancel button
  1088.         {
  1089.             {0, 0},
  1090.             {0, 0, 0, 0},
  1091.             kPrintOptionsDlgRsrcID, 9,
  1092.             kPrintOptionsDlgRsrcID, 10,
  1093.             kPrintOptionsDlgRsrcID, 11,
  1094.             kPrintOptionsDlgRsrcID, 12
  1095.         },
  1096.         /* [3] */
  1097.         HMSkipItem                         //    Print driver string
  1098.         {
  1099.         },
  1100.         /* [4] */
  1101.         HMSkipItem                         //    Horizontal line
  1102.         {
  1103.         },
  1104.         /* [5] */
  1105.         HMStringResItem                 //    Automatic button
  1106.         {
  1107.             {0, 0},
  1108.             {0, 0, 0, 0},
  1109.             kPrintOptionsDlgRsrcID, 13,
  1110.             kPrintOptionsDlgRsrcID, 14,
  1111.             kPrintOptionsDlgRsrcID, 15,
  1112.             kPrintOptionsDlgRsrcID, 16
  1113.         },
  1114.         /* [6] */
  1115.         HMStringResItem                 //    Hand feed button
  1116.         {
  1117.             {0, 0},
  1118.             {0, 0, 0, 0},
  1119.             kPrintOptionsDlgRsrcID, 17,
  1120.             kPrintOptionsDlgRsrcID, 18,
  1121.             kPrintOptionsDlgRsrcID, 19,
  1122.             kPrintOptionsDlgRsrcID, 20
  1123.         },
  1124.         /* [7] */
  1125.         HMSkipItem                         //    Paper Feed: string
  1126.         {
  1127.         },
  1128.         /* [8] */
  1129.         HMSkipItem                        //    Sheet Feeder Optiosn: string 
  1130.         {
  1131.         },
  1132.         /* [9] */
  1133.         HMSkipItem                         //    Bin 1 string
  1134.         {
  1135.         },
  1136.         /* [10] */
  1137.         HMSkipItem                         //    Bin 2 string
  1138.         {
  1139.         },
  1140.         /* [11] */
  1141.         HMSkipItem                         // Bin 3 string
  1142.         {
  1143.         },
  1144.         /* [12] */
  1145.         HMSkipItem                         // First Sheet from: string
  1146.         {
  1147.         },
  1148.         /* [13] */
  1149.         HMSkipItem                         //    Remaining Sheets From: string
  1150.         {                
  1151.         },
  1152.         /* [14] */
  1153.         HMStringResItem                 //    Bin 1: first sheet from
  1154.         {
  1155.             {0, 0},
  1156.             {0, 0, 0, 0},
  1157.             kPrintOptionsDlgRsrcID, 21,
  1158.             kPrintOptionsDlgRsrcID, 22,
  1159.             kPrintOptionsDlgRsrcID, 23,
  1160.             kPrintOptionsDlgRsrcID, 24
  1161.         },
  1162.         /* [15] */
  1163.         HMStringResItem                  //    Bin 2: first sheet from
  1164.         {
  1165.             {0, 0},
  1166.             {0, 0, 0, 0},
  1167.             kPrintOptionsDlgRsrcID, 25,
  1168.             kPrintOptionsDlgRsrcID, 26,
  1169.             kPrintOptionsDlgRsrcID, 27,
  1170.             kPrintOptionsDlgRsrcID, 28
  1171.         },
  1172.         /* [16] */
  1173.         HMStringResItem                  //    Bin 3: first sheet from
  1174.         {
  1175.             {0, 0},
  1176.             {0, 0, 0, 0},
  1177.             kPrintOptionsDlgRsrcID, 29,
  1178.             kPrintOptionsDlgRsrcID, 30,
  1179.             kPrintOptionsDlgRsrcID, 31,
  1180.             kPrintOptionsDlgRsrcID, 32
  1181.         },
  1182.         /* [17] */
  1183.         HMStringResItem                  //    Bin 1: remaining sheets from
  1184.         {
  1185.             {0, 0},
  1186.             {0, 0, 0, 0},
  1187.             kPrintOptionsDlgRsrcID, 33,
  1188.             kPrintOptionsDlgRsrcID, 34,
  1189.             kPrintOptionsDlgRsrcID, 35,
  1190.             kPrintOptionsDlgRsrcID, 36
  1191.         },
  1192.         /* [18] */
  1193.         HMStringResItem                   //    Bin 2: remaining sheets from
  1194.         {
  1195.             {0, 0},
  1196.             {0, 0, 0, 0},
  1197.             kPrintOptionsDlgRsrcID, 37,
  1198.             kPrintOptionsDlgRsrcID, 38,
  1199.             kPrintOptionsDlgRsrcID, 39,
  1200.             kPrintOptionsDlgRsrcID, 40
  1201.         },
  1202.         /* [19] */
  1203.         HMStringResItem                   //    Bin 3: remaining sheets from
  1204.         {
  1205.             {0, 0},
  1206.             {0, 0, 0, 0},
  1207.             kPrintOptionsDlgRsrcID, 41,
  1208.             kPrintOptionsDlgRsrcID, 42,
  1209.             kPrintOptionsDlgRsrcID, 43,
  1210.             kPrintOptionsDlgRsrcID, 44
  1211.         },
  1212.         /* [20] */
  1213.         HMSkipItem                             //    Please note: string
  1214.         {
  1215.         },
  1216.         /* [21] */
  1217.         HMSkipItem                             //    Underline string
  1218.         {
  1219.         },
  1220.         /* [22] */
  1221.         HMSkipItem                             //    Underline string
  1222.         {
  1223.         },
  1224.         /* [23] */
  1225.         HMSkipItem                             //    Version string
  1226.         {
  1227.         },
  1228.         /* [24] */
  1229.         HMSkipItem                             //    Default outline of the OK button
  1230.         {
  1231.         }
  1232.     }
  1233. };
  1234.  
  1235.  
  1236. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1237. // that corresponds to the PrStlDialog.
  1238.  
  1239. resource 'STR#' (gxStlDialogResID, sysheap, purgeable) 
  1240. {
  1241.     {    /* array StringArray: 60 elements */
  1242.         /* [1] */    "Missing enabled item in hdlg -8192",
  1243.         /* [2] */    "Missing disabled item in hdlg -8192",
  1244.         /* [3] */    "Missing checked item in hdlg -8192",
  1245.         /* [4] */    "Missing other item in hdlg -8192",
  1246.         /* [5] */    "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1247.         /* [6] */    "",
  1248.         /* [7] */    "",
  1249.         /* [8] */    "",
  1250.         /* [9] */    "To cancel any changes to the settings in this box and close the box, click this button.",
  1251.         /* [10] */    "",
  1252.         /* [11] */    "",
  1253.         /* [12] */    "",
  1254.         /* [13] */    "To print your document with standard U.S. letter paper (8 1/2 by 11 inches), click this button.",
  1255.         /* [14] */    "",
  1256.         /* [15] */    "When this button is selected, your document is set up for standard U.S. letter paper (8 1/2 by 11 inches).",
  1257.         /* [16] */    "",
  1258.         /* [17] */    "To print your document with A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches), click this button.",
  1259.         /* [18] */    "",
  1260.         /* [19] */    "When this button is selected, your document is set up for A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches).",
  1261.         /* [20] */    "",
  1262.         /* [21] */    "To print your document with U.S. legal paper (8 1/2 by 14 inches), click this button.",
  1263.         /* [22] */    "",
  1264.         /* [23] */    "When this button is selected, your document is set up for U.S. legal paper (8 1/2 by 14 inches).",
  1265.         /* [24] */    "",
  1266.         /* [25] */    "To print your document with international fanfold paper (8 1/4 by 12 inches), click this button.",
  1267.         /* [26] */    "",
  1268.         /* [27] */    "When this button is selected, your document is set up for international fanfold paper (8 1/4 by 12 inches).",
  1269.         /* [28] */    "",
  1270.         /* [29] */    "To print your document with standard computer paper (15 by 11 inches), click this button.",
  1271.         /* [30] */    "",
  1272.         /* [31] */    "When this button is selected, your document is set up for standard computer paper (15 by 11 inches).",
  1273.         /* [32] */    "",
  1274.         /* [33] */    "To print on number 10 (U.S. business-size) envelopes, click this button.",
  1275.         /* [34] */    "",
  1276.         /* [35] */    "When this button is selected, your document is set up for number 10 (U.S. business-size) envelopes.",
  1277.         /* [36] */    "",
  1278.         /* [37] */    "To set up your document for portrait (tall) printing, click this icon.",
  1279.         /* [38] */    "",
  1280.         /* [39] */    "When this icon is selected, your document is set up for portrait (tall) printing.",
  1281.         /* [40] */    "",
  1282.         /* [41] */    "To set up your document for landscape (wide) printing, click this icon.",
  1283.         /* [42] */    "",
  1284.         /* [43] */    "When this icon is selected, your document is set up for landscape (wide) printing.",
  1285.         /* [44] */    "",
  1286.         /* [45] */    "To print your document at two-third its actual size, click this button.",
  1287.         /* [46] */    "To print your document at two-third its actual size, click this button.  Not available because the application program you"
  1288.                         " are using always prints images at actual size.",
  1289.         /* [47] */    "When this button is selected, your document is printed at two-third its actual size.",
  1290.         /* [48] */    "",
  1291.         /* [49] */    "To print your document at one-third its actual size, click this button.",
  1292.         /* [50] */    "To print your document at one-third its actual size, click this button.  Not available because the application program you"
  1293.                         "are using always prints images at actual size.",
  1294.         /* [51] */    "When this button is selected, your document is printed at one-third its actual size.",
  1295.         /* [52] */    "",
  1296.         /* [53] */    "To print the document at its full size (with no reduction), click this button.",
  1297.         /* [54] */    "",
  1298.         /* [55] */    "When this button is selected, the document is printed at full size (with no reduction).",
  1299.         /* [56] */    "",
  1300.         /* [57] */    "To print your document without gaps between pages, click this  box.",
  1301.         /* [58] */    "",
  1302.         /* [59] */    "When this box is checked, your document is printed without gaps between pages.",
  1303.         /* [60] */    ""
  1304.     }
  1305. };
  1306.  
  1307.  
  1308. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1309. // that corresponds to the PrJobDialog.
  1310.  
  1311. resource 'STR#' (gxJobDialogResID, sysheap, purgeable) 
  1312. {
  1313.     {    /* array StringArray: 56 elements */
  1314.         /* [1] */    "Missing enabled item in hdlg -8191",
  1315.         /* [2] */    "Missing disabled item in hdlg -8191",
  1316.         /* [3] */    "Missing checked item in hdlg -8191",
  1317.         /* [4] */    "Missing other item in hdlg -8191",
  1318.         /* [5] */    "To start printing using the settings in this dialog box, click this button (or press the Return or Enter key).",
  1319.         /* [6] */    "",
  1320.         /* [7] */    "",
  1321.         /* [8] */    "",
  1322.         /* [9] */    "To cancel the Print command without saving any changes to settings in the dialog box, click this button.",
  1323.         /* [10] */    "",
  1324.         /* [11] */    "",
  1325.         /* [12] */    "",
  1326.         /* [13] */    "To print your document with the highest resolution (216 dots per inch), click this button.  Best quality takes the longest to print.",
  1327.         /* [14] */    "",
  1328.         /* [15] */    "When this button is selected, your document is printed with the highest resolution (216 dots per inch).  Best quality takes the longest to print.",
  1329.         /* [16] */    "",
  1330.         /* [17] */    "To print your document with medium resolution (72 dots per inch), click this button.  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1331.         /* [18] */    "To print your document with medium resolution (72 dots per inch), click this button.  Not available because the application program you are using always prints at the highest resolution.",
  1332.         /* [19] */    "When this button is selected, your document prints with medium resolution (72 dots per inch).  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1333.         /* [20] */    "",
  1334.         /* [21] */    "To get a quick printout, click this button.  Text only is printed, using one font and font size, with plain, bold, and underline styles only.",
  1335.         /* [22] */    "",
  1336.         /* [23] */    "When this button is selected, you get a quick printout containing text only, using one font and font size, with plain, bold, and underline styles only.",
  1337.         /* [24] */    "",
  1338.         /* [25] */    "To print all the pages in the document, click this button.",
  1339.         /* [26] */    "",
  1340.         /* [27] */    "When this button is selected, all the pages in the document are printed.",
  1341.         /* [28] */    "",
  1342.         /* [29] */    "To print a range of pages, click this button and type the first and last page numbers in the boxes to the right.  To print one page, type its number in both boxes.",
  1343.         /* [30] */    "",
  1344.         /* [31] */    "When this button is selected, only the page range specified in the boxes to the right is printed.",
  1345.         /* [32] */    "",
  1346.         /* [33] */    "",
  1347.         /* [34] */    "To specify a range of pages to be printed, type the number of the first page here.",
  1348.         /* [35] */    "",
  1349.         /* [36] */    "",
  1350.         /* [37] */    "",
  1351.         /* [38] */    "To specify a range of pages to be printed, type the number of the last page here.",
  1352.         /* [39] */    "",
  1353.         /* [40] */    "",
  1354.         /* [41] */    "",
  1355.         /* [42] */    "Type the number of copies to be printed here.",
  1356.         /* [43] */    "",
  1357.         /* [44] */    "",
  1358.         /* [45] */    "To set the printer to print both left-to-right and right-to-left, click this button.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1359.         /* [46] */    "",
  1360.         /* [47] */    "When this button is selected, the printer prints both left-to-right and right-to-left.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1361.         /* [48] */    "",
  1362.         /* [49] */    "To set the printer to print left-to-right only, click this button.  Printing is slower than bidirectional printing, but print quality is higher.",
  1363.         /* [50] */    "",
  1364.         /* [51] */    "When this button is selected, the printer prints left-to-right only.  Printing is slower than bidirectional printing, but print quality is higher.",
  1365.         /* [52] */    "",
  1366.         /* [53] */    "To set paper feed options and sheet feeder options, click this button.",
  1367.         /* [54] */    "",
  1368.         /* [55] */    "",
  1369.         /* [56] */    ""
  1370.     }
  1371. };
  1372.  
  1373.  
  1374. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1375. // that corresponds to the Print Options dialog.
  1376.  
  1377. resource 'STR#' (kPrintOptionsDlgRsrcID, sysheap, purgeable) 
  1378. {
  1379.     {    /* array StringArray: 44 elements */
  1380.         /* [1] */ "Missing enabled item in hdlg -8138",
  1381.         /* [2] */ "Missing disabled item in hdlg -8138",
  1382.         /* [3] */ "Missing checked item in hdlg -8138",
  1383.         /* [4] */ "Missing other item in hdlg -8138",
  1384.         /* [5] */ "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1385.         /* [6] */ "",
  1386.         /* [7] */ "",
  1387.         /* [8] */ "",
  1388.         /* [9] */ "To cancel any changes you have made to the settings in this box and close the box, click this button.",
  1389.         /* [10] */ "",
  1390.         /* [11] */ "",
  1391.         /* [12] */ "",
  1392.         /* [13] */ "To print on paper automatically fed into the printer, click this button.",
  1393.         /* [14] */ "",
  1394.         /* [15] */ "When this button is selected, the printer uses paper which is automatically fed into the printer.",
  1395.         /* [16] */ "",
  1396.         /* [17] */ "To print on paper fed into the printer by hand (one sheet at a time), click this button",
  1397.         /* [18] */ "",
  1398.         /* [19] */ "When this button is selected, the ImageWriter will pause before printing each page so that you can insert a new sheet of paper.",
  1399.         /* [20] */ "",
  1400.         /* [21] */ "To print the first page of your document on paper from bin 1, click this button.",
  1401.         /* [22] */ "",
  1402.         /* [23] */ "When this button is selected, the first page of your document is printed on paper from bin 1.",
  1403.         /* [24] */ "",
  1404.         /* [25] */ "To print the first page of your document on paper from bin 2, click this button.",
  1405.         /* [26] */ "",
  1406.         /* [27] */ "When this button is selected, the first page of your document is printed on paper from bin 2.",
  1407.         /* [28] */ "",
  1408.         /* [29] */ "To print the first page of your document on paper from bin 3, click this button.",
  1409.         /* [30] */ "",
  1410.         /* [31] */ "When this button is selected, the first page of your document is printed on paper from bin 3.",
  1411.         /* [32] */ "",
  1412.         /* [33] */ "To print every page except the first on paper from bin 1, click this button.",
  1413.         /* [34] */ "",
  1414.         /* [35] */ "When this button is selected, every page except the first is printed on paper from bin 1.",
  1415.         /* [36] */ "",
  1416.         /* [37] */ "To print every page except the first on paper from bin 2, click this button.",
  1417.         /* [38] */ "",
  1418.         /* [39] */ "When this button is selected, every page except the first is printed on paper from bin 2.",
  1419.         /* [40] */ "",
  1420.         /* [41] */ "To print every page except the first on paper from bin 3, click this button.",
  1421.         /* [42] */ "",
  1422.         /* [43] */ "When this button is selected, every page except the first is printed on paper from bin 3.",
  1423.         /* [44] */ ""
  1424.     }
  1425. };
  1426.